﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace zielonka.co.uk.extensions.system
{
    /*
        var currentUnixTimestamp = DateTime.Now.ToUnixTimestamp();
      
     */

    public static partial class DateTimeExtensions
    {
        public static string ToOracleSqlDate(this DateTime dateTime)
        {
            return String.Format("to_date('{0}','dd.mm.yyyy hh24.mi.ss')", dateTime.ToString("dd.MM.yyyy HH:mm:ss"));
        }
    }
}
